package pres.lnk.learn.designpattern.g_bridge.shape;

import pres.lnk.learn.designpattern.g_bridge.color.Color;

/**
 * 抽象类，实现了部分通过功能，并关联了桥接类，最后由桥接类实现业务
 * @Author lnk
 * @Date 2018/2/7
 */
public abstract class Shape {
    private Color color;

    public abstract void draw();

    public Color getColor() {
        return color;
    }

    public void setColor(Color color) {
        this.color = color;
    }
}
